import React, {useState } from 'react'
import Timer from './components/Timer'
export default function App() {
  let [count, setCount] = useState(100)

  return (
    <div>
      {count % 2 === 0 && <Timer />}
      <button
        onClick={() => {
          setCount(count + 1)
        }}
      >
        {' '}
        ++1{' '}
      </button>
    </div>
  )
}
